<template>
  <div id="noPage">
    <el-rate v-model="value" allow-half />
    <el-button type="primary" @click="handle">提交</el-button>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";

const value = ref();

const handle = () => {
  console.log(value.value * 2);
};
</script>

<style scoped>
#noPage {
}

#noPage .content-wrapper > p {
  margin-bottom: 24px;
}
</style>
